package com.alibaba.travel.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/27/11:06
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(value = "content")
@ToString
@ApiModel(value = "ContentEntity", description = "内容的DTO")
public class ContentEntity {
    @Id
    @ApiModelProperty(value = "id", name = "内容id")
    private String id;
    @ApiModelProperty(value = "content", name = "内容")
    private String content;
}
